package com.hnguigu.health.houduan.jpx.service_jpx.impl;

import com.hnguigu.health.houduan.jpx.service_jpx.TMemberExaminationSer;
import com.hnguigu.health.mapper.TMemberExaminationMapper;
import com.hnguigu.health.pojo.TMemberExamination;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class TMemberExaminationSerImpl implements TMemberExaminationSer {
    @Autowired(required = false)
    TMemberExaminationMapper tMemberExaminationMapper;


    @Override
    public int TMemberExaminationAdd(TMemberExamination tMemberExamination) {
        int insert = tMemberExaminationMapper.insert(tMemberExamination);
        return insert;
    }

    @Override
    public List<TMemberExamination> TMemberExamination_and_TmemberFind(Integer tMemberId) {
        return tMemberExaminationMapper.TMemberExamination_and_TmemberFind(tMemberId);
    }
}
